Пример #1
0
 public UserDTO GetByEmail(string email)
 {
     _logger.LogInformation("User login ," + email + DateTime.UtcNow);
     return(UserMapping.MapDomainToDTOObject(userMicroService.GetByEmail(email)));
 }
Пример #2
0
 public UserDTO GetById(int id)
 {
     return(UserMapping.MapDomainToDTOObject(userMicroService.GetById(id)));
 }