public async Task <IResult> Delete(Equipment equipment)
        {
            await _equipmentDal.Delete(equipment);

            return(new SuccessResult(Messages.EquipmentDeleted));
        }
 public IResult Delete(Equipment equipment)
 {
     _equipmentDal.Delete(equipment);
     return(new SuccesResult(Messages.EquipmentDeleted));
 }