Ejemplo n.º 1
0
        public List <Purpose> FindPurposeByName([FromBody] LocationClass Purpose)
        {
            List <Purpose> result = new List <Purpose>();

            foreach (var name in Purpose.Purpose)
            {
                var resultt = uow.Purposes.FindByName(name);
                result.Add(resultt);
            }
            return(result);
        }
Ejemplo n.º 2
0
 public Location FindLocationByName([FromBody] LocationClass Location)
 {
     return(uow.Locations.FindByName(Location.Location));
 }