public string Add() { this.ImageUrl = CustomFile.SaveImageFile(this.ImageFileBase, this.Name, this.Id, "Medicine"); this.ContributorId = AuthenticatedUserModel.GetUserFromIdentity().Id; return(_medicineService.AddByAdmin(this)); }
public string Add() { this.ImageUrl = CustomFile.SaveImageFile(this.ImageFileBase, this.Name, this.Id, "Medicine"); this.ContributorId = AuthenticatedUserModel.GetUserFromIdentity().Id; return(_medicineService.AddByAdmin(this)); }