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));
            }
        }
Ejemplo n.º 2
0
 public static bool SaveRevenueProfileScale(EvolutionRepository.Models.RevenueScale revScale)
 {
     revScale.DateAdded = DateTime.Now;
     return(EvolutionDataAccess.Organisation.OrganisationDAL.SaveRevenueProfileScale(revScale));
 }