Exemple #1
0
        public HttpResponseMessage SaveRevenueProfileSplits(EvolutionRepository.ManualModels.RevenueProfileSimple simpleProfile)
        {
            bool Result = SplitLogic.SaveRevenueProfileSplits(simpleProfile);

            if (Result == false)
            {
                throw new HttpResponseException(HttpStatusCode.BadRequest);
            }
            else
            {
                return(new HttpResponseMessage(HttpStatusCode.OK));
            }
        }
Exemple #2
0
 public EvolutionRepository.ManualModels.GetSplitListResult Get([FromUri] int organisationID, int skip, int take)
 {
     return(SplitLogic.GetAllOrganisationSplits(organisationID, skip, take));
 }