private void DeleteSelf(int projectId, [Inject] IAssignmentDal dal) { using (BypassPropertyChecks) { dal.Delete(projectId, ResourceId); } }
private void DeleteSelf(ResourceEdit resource, [Inject] IAssignmentDal dal) { using (BypassPropertyChecks) { dal.Delete(ProjectId, resource.Id); } }
public void Delete(Assignment entity) { _assignmentDal.Delete(entity); }