Ejemplo n.º 1
0
        public IActionResult GetAllWorkItems(int ID)
        {
            if (ID <= 0)
            {
                return(base.BadRequest("ID has to be grater than 0!"));
            }
            IEnumerable <WorkItemPublic> workItem = mRepository.GetAllWorkItems(ID);

            return(base.Ok(workItem));
        }