public void Post(List <UserProp> deletedArray) { using (UserReportRight urr = new UserReportRight()) { foreach (var item in deletedArray) { urr.DeleteUserReportRight(item.UserName, item.ReportRightID, item.DeletedBy); } } }
public void Delete(string UserName, int ReportRightID, string DeletedBy) { UserReportRight urr = new UserReportRight(); urr.DeleteUserReportRight(UserName, ReportRightID, DeletedBy); }