Beispiel #1
0
        public async Task <IHttpActionResult> GetAllMongo()
        {
            var result = await accountbusiness.GetAllMongo();

            if (result != null)
            {
                return(Ok(result));
            }
            return(Content(HttpStatusCode.InternalServerError, "Error"));
        }