public async Task <IDataResult <List <Equipment> > > GetAll() { return(new SuccessDataResult <List <Equipment> >(await _equipmentDal.GetAll(), Messages.EquipmentListed)); }
public IDataResult <List <Equipment> > GetAll() { return(new SuccessDataResult <List <Equipment> >(_equipmentDal.GetAll(), Messages.EquipmentsListed)); }