Conflicts:
	AsbCloudInfrastructure/Services/WellService.cs
This commit is contained in:
KharchenkoVladimir 2021-10-21 15:59:16 +05:00
commit d63573c67d

View File

@ -58,7 +58,7 @@ namespace AsbCloudWebApi.Controllers
{
var idCompany = User.GetCompanyId();
if (idCompany is null)
if (idCompany is null || !await wellService.IsCompanyInvolvedInWellAsync(idCompany??default, idWell, token).ConfigureAwait(false))
return NoContent();
var well = await wellService.GetAsync(idWell,