public async Task <IActionResult> Put([FromBody] TenantuserrelationDto tenantuserrelation) { return(Success(await _tenantuserrelationService.CreateAsync(tenantuserrelation))); }
public async Task <IActionResult> Post([FromBody] TenantuserrelationDto tenantuserrelation) { await _tenantuserrelationService.UpdateAsync(tenantuserrelation); return(Success()); }