public IActionResult BuscarTodos()
 {
     try
     {
         var resultBD = _perfilService.BuscarTodosPerfis();
         var resultVM = Mapper.Map <List <PerfilVM> >(resultBD);
         return(Ok(new { dados = resultVM, notifications = "", success = true }));
     }
     catch (Exception ex)
     {
         return(BadRequest(ex));
     }
 }