using AlphaCinemaData.Models;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace AlphaCinemaServices.Contracts
{
    public interface IMovieService
    {
        Task<ICollection<Movie>> GetMovies();

        Task<Movie> GetMovie(string movieName);

        Task<Movie> GetMovie(int movieId);
        
        Task<Movie> AddMovie(string name,string description,string releaseYear,string duration);

        Task DeleteMovie(string movieName);

        Task<Movie> UpdateMovie(int id, string name, string description, string releaseYear, string duration, string image);
    }
}
