public int Update(ProjectNameEntity t, string[] properties = null) { using (BrightourDbContext db = new BrightourDbContext()) { return(db.Update(t, properties)); } }
public ProjectNameModel GetProjectNameById(int id) { ProjectNameEntity projectNameEntity = _dal.Query(id); if (projectNameEntity == null) { return(null); } return(Mapper.Map <ProjectNameEntity, ProjectNameModel>(projectNameEntity)); }
public int Delete(ProjectNameEntity t) { throw new NotImplementedException(); }
public int Insert(ProjectNameEntity t) { throw new NotImplementedException(); }