예제 #1
0
 public IResult Delete(int id)
 {
     _projectDal.Delete(new Project {
         Id = id
     });
     return(new SuccessResult());
 }
예제 #2
0
 public void Delete(int projectId)
 {
     _projectDal.Delete(new Project()
     {
         Id = projectId
     });
 }
예제 #3
0
 public void Delete(Project project)
 {
     _projectDal.Delete(project);
 }
예제 #4
0
 private void Delete(int id, [Inject] IProjectDal dal)
 {
     dal.Delete(id);
 }
예제 #5
0
 public IResult Delete(Project project)
 {
     _projectdal.Delete(project);
     return(new SuccessResult(Messages.OperationSuccessful));
 }