public void Update(OrderStatus entity) { _OrderStatusRepository.Update(entity); }
async Task <OrderStatusDTO> IService <OrderStatusDTO, int> .Update(OrderStatusDTO entity) { OrderStatus orderStatus = await _orderStatusRepository.Update(_mapper.Map <OrderStatusDTO, OrderStatus>(entity)); return(_mapper.Map <OrderStatus, OrderStatusDTO>(orderStatus)); }
public void UpdateOrderStatus(OrderStatus OrderStatus) { _repository.Update(OrderStatus); }
public void Update(OrderStatus orderStatus) { db.Update(orderStatus); }