public bool DeleteAbout(AboutDescription aboutDescription) { try { db.Entry(aboutDescription).State = EntityState.Deleted; return(true); } catch (Exception) { return(false); } }
public bool InsertAbout(AboutDescription aboutDescription) { try { db.AboutDescriptions.Add(aboutDescription); return(true); } catch (Exception) { return(false); } }