Exemplo n.º 1
0
        public JsonResult FindStores(string name = null, int?userId = null)
        {
            var list = _reportServices.FindStores(null, userId, name).OrderBy(x => x.name).ToList();

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