Beispiel #1
0
        public ActionResult <User> GetPossibleHelpers(string templateName, int weekNr, int dayNr)
        {
            IEnumerable <User> users = _dayRepository.GetPossibleHelpers(templateName, weekNr, dayNr);

            if (users == null)
            {
                return(NotFound());
            }
            else
            {
                return(Ok(users));
            }
        }