public List<User> GetUsers(int threshold = 10, int skip = 10)
{
try
{
var db = _userRepository.GetUsers(threshold, skip).ToList();
return db.Select(UserMapper.ToDto).ToList();
}
catch (Exception ex)
{
throw new BlogException(ex.Message, ex.InnerException);
}
}