public bool PostFacilityPicture(FACILITY_PICTURES facilityPicture) { try { db.FACILITY_PICTURES.Add(facilityPicture); db.SaveChanges(); return(true); } catch (Exception e) { return(false); } }
public bool PostFacilityPicture(FACILITY_PICTURES facilityPicture) { var isSaved = sportsSideService.PostFacilityPicture(facilityPicture); if (isSaved) { return(true); } else { return(false); } }