public HttpResponseMessage SaveRevenueProfileScale(EvolutionRepository.Models.RevenueScale revScale) { bool Result = OrganisationLogic.SaveRevenueProfileScale(revScale); if (Result == false) { throw new HttpResponseException(HttpStatusCode.BadRequest); //EvolutionDataAccess.Organisation.OrganisationDAL.SaveRevenueProfile(revProfile); } else { return(new HttpResponseMessage(HttpStatusCode.OK)); } }
public static bool SaveRevenueProfileScale(EvolutionRepository.Models.RevenueScale revScale) { revScale.DateAdded = DateTime.Now; return(EvolutionDataAccess.Organisation.OrganisationDAL.SaveRevenueProfileScale(revScale)); }