Beispiel #1
0
        public List <UserInformationVm> GetAllInformationAboutTaskListForEmployee(int id)
        {
            var userInformationList = new List <UserInformationVm>();

            var infoAboutTaskById = _repo.GetInformationAboutTaskListForEmployee(id);

            if (infoAboutTaskById != null)
            {
                userInformationList = UserInformationMapper.MapList(infoAboutTaskById.ToList());
            }

            return(userInformationList);
        }
Beispiel #2
0
        public void EditUserInformation(UserInformationVm userInformationVm)
        {
            var userInformation = UserInformationMapper.MapFromVm(userInformationVm);

            _repo.EditUserInformation(userInformation);
        }