예제 #1
0
        public IHttpActionResult Closed()
        {
            var Query = from f in feedInterface.GETAllClosed()
                        select new { f.id, f.title, f.description, f.createDate, f.status, f.user.EmployeeId, f.user.FirstName, f.user.Email, f.category, f.priority, };

            if (Query != null)
            {
                return(Ok(Query.ToList()));
            }
            else
            {
                return(BadRequest("No closed list  found"));
            }
        }