Beispiel #1
0
        public IActionResult GetMovieCount(int order = (int)MovieField.count, bool isAscending = true)
        {
            var ret = _business.FindMovieCount((MovieField)order, isAscending);

            if (ret == null)
            {
                return(NotFound());
            }
            ViewResponse <_vw_mc_ator> vr = new ViewResponse <_vw_mc_ator>();

            vr.server_response = ret;
            return(Ok(vr));
        }