Пример #1
0
        public async Task <bool> UpdateIsolate(IsolateUpdate isolateUpdate)
        {
            await using var connection = new SqlConnection(_connectionString);
            try
            {
                await connection.ExecuteAsync(
                    "FVST_DTU.UpdateIsolate",
                    isolateUpdate,
                    commandType : CommandType.StoredProcedure
                    );

                return(true);
            }
            catch (Exception e)
            {
                return(false);
            }
        }
Пример #2
0
 public Task <bool> UpdateIsolate(IsolateUpdate isolateUpdate)
 {
     throw new NotImplementedException();
 }
Пример #3
0
 public async Task <ActionResult <bool> > ApproveAnalysisValues([FromBody] IsolateUpdate isolateUpdate)
 {
     return(await _isolateRepository.UpdateIsolate(isolateUpdate));
 }