Exemplo n.º 1
0
        public IHttpActionResult FindMostRatedSuppliers()
        {
            try
            {
                ReviewManager RevMgr = new ReviewManager(Unit);

                return(Ok(RevMgr.FindMostRatedSuppliersIds()));
            }
            catch (Exception ex)
            {
                Unit.LogError(ex, this.ToString(), this.ActionContext.ActionArguments.ToList());
                return(InternalServerError(ex));
            }
        }