Ejemplo n.º 1
0
        public async Task <IHttpActionResult> GetCount()
        {
            try
            {
                var result = await UserCore.GetCount();

                return(Ok(new { value = result }));
            }
            catch (Exception ex)
            {
                return(InternalServerError(ex));
            }
        }