using back.DataModels; using back.DTO; using DependencyInjector.Abstractions.Lifetimes; namespace back.services.bussines.PhotoService; public interface IPhotoService: IScoped { Task Create(PhotoFormModel form); Task Delete(string id, string userId = "00000000-0000-0000-0000-000000000001"); Task Get(string id, string userId = "00000000-0000-0000-0000-000000000001"); Task<(string? mediaType, byte[]? fileBytes)> GetBytes(string id, string res = ""); Task<(int totalItems, IEnumerable? pageData)> GetPage(int page, int pageSize); Task Update(Photo photo, string userId = "00000000-0000-0000-0000-000000000001"); }