/// <summary> /// gets location created by user /// </summary> /// <param name="userName"></param> /// <returns>List<Location/></returns> public List <Location> GetLocationsByUserName(string userName) { return(_dbLocation.FindLocationsByUserName(userName)); }