Ejemplo n.º 1
0
        public JsonResult GetMissingPropertyCodes(DateTime month)
        {
            if (!AuthorizationProvider.CanViewRevenue())
            {
                return(Forbidden());
            }

            var provider = new ReservationRevenueProvider(_dbContext);
            var model    = provider.GetMissingPropertyCodes(month);

            return(Json(model, JsonRequestBehavior.AllowGet));
        }