public IEnumerable <UserModel> GetUsers() { IEnumerable <User> users = UOperations.GetUsers(); IEnumerable <UserModel> ui_users = Mapper.Map <IEnumerable <User>, IEnumerable <UserModel> >(users); return(ui_users); }
public IEnumerable <User> GetUsers() { return(UOperations.GetUsers()); }