public IResult Delete(int id) { _projectDal.Delete(new Project { Id = id }); return(new SuccessResult()); }
public void Delete(int projectId) { _projectDal.Delete(new Project() { Id = projectId }); }
public void Delete(Project project) { _projectDal.Delete(project); }
private void Delete(int id, [Inject] IProjectDal dal) { dal.Delete(id); }
public IResult Delete(Project project) { _projectdal.Delete(project); return(new SuccessResult(Messages.OperationSuccessful)); }