public async Task Update(ListOfGoodsBll elementToUpdate)
 {
     _unitOfWork.ListOfGoodsUnitOfWork.Update(TransformEntity(elementToUpdate));
     await _unitOfWork.Save();
 }
 private listOfGoods TransformEntity(ListOfGoodsBll entity) => Mapper.Map <ListOfGoodsBll, listOfGoods>(entity);
 public async Task Insert(ListOfGoodsBll element)
 {
     _unitOfWork.ListOfGoodsUnitOfWork.Insert(TransformEntity(element));
     await _unitOfWork.Save();
 }