public ActionResult add(Cadastros cadastro)
 {
     try
     {
         repository.add(cadastro);
         return(Ok());
     }
     catch (Exception ex)
     {
         return(BadRequest(new { message = ex.Message }));
     }
 }