public async Task <IResult> Add(Equipment equipment) { await _equipmentDal.Add(equipment); return(new SuccessResult(Messages.EquipmentAdded)); }
//[LogAspect(typeof(DatabaseLogger))] public IResult Add(Equipment equipment) { _equipmentDal.Add(equipment); return(new SuccesResult(Messages.EquipmentAdded)); }