public async Task <ServiceResult <string> > UploadToMaster(UploadImageIM model) { return(new ServiceResult <string> { Data = await new ImageComponent().UploadToMasterAsync(model.FileName, model.Base64Content) }); }
public async Task <ServiceResult <Guid[]> > UploadWithThumbnailToMaster(UploadImageIM model) { return(new ServiceResult <Guid[]> { Data = await new ImageComponent().UploadWithThumbnailToMasterAsync(model.FileName, model.Base64Content) }); }
public ServiceResult <string> Upload(UploadImageIM model) { return(new ServiceResult <string> { Data = new ImageComponent().UploadWithRegion(model.FileName, model.Base64Content, this.GetUser().CountryId) }); }