public async Task <EntityLayer.Orders> DeleteOrder(EntityLayer.Orders entity)
        {
            UnitOfWork.OrderRepository.Remove(entity);
            await UnitOfWork.CommitChangesAsync();

            return(entity);
        }
 public async Task <EntityLayer.Orders> GetOrder(EntityLayer.Orders entity)
 {
     return(await Task.Run(() => { return UnitOfWork.OrderRepository.Get(entity); }));
 }