public void CreateArrival(Arrival arrival) { try { Task.Run(() => _repository.CreateArrival(arrival.ToDataEntity())); Arrivals.Add(arrival); } catch (Exception) { throw; } }