Пример #1
0
 public bool Update(Organization entity)
 {
     //compare entities and get the same entity with same id in dbcontext
     ctx.Organization_Update(entity.ID, entity.Title, entity.AboutUs, entity.Logo_Img, entity.Cover_Img, entity.Location, entity.FK_Org_Size, entity.Site_URL, entity.Date_Start, entity.FK_Industry, entity.IsDeleted);
     return(ctx.SaveChanges() > 0);
 }