public IActionResult Delete([FromServices] IPerfilRepository repository, [FromServices] IUsuarioRepository repositoryUsuario) { //TODO APAGAR PROMOÇÕES repository.DeleteByUser(new Guid(User.Identity.Name)); return(Ok()); }
public IActionResult Delete([FromServices] IPerfilRepository repository, [FromServices] IUsuarioRepository repositoryUsuario) { //TODO APAGAR PROMOÇÕES repository.DeleteByUser(new Guid(User.Identity.Name)); return(Ok()); }