Esempio n. 1
0
        public Task <OperationResult <QueryPage <Donor> > > Get([FromQuery] int page, [FromQuery] int take) =>
        _lazyDbConnection.TryExecuteDbMessageAsync(new GetDonors

        {
            Page = page,
            Take = take
        });
Esempio n. 2
0
 public Task <OperationResult <IEnumerable <ScheduleType> > > Get() =>
 _lazyDbConnection.TryExecuteDbMessageAsync(new GetScheduleTypes());
Esempio n. 3
0
 public Task <OperationResult <IEnumerable <DonationState> > > Get() =>
 _lazyDbConnection.TryExecuteDbMessageAsync(new GetDonationStates());
 public Task <OperationResult <QueryPage <Models.Distributor.Distributor> > > Get([FromQuery] int page, [FromQuery] int take) =>
 _lazyDbConnection.TryExecuteDbMessageAsync(new GetDistributors()
 {
     Page = page,
     Take = take
 });
Esempio n. 5
0
 public Task <OperationResult <QueryPage <ScheduleWithNames> > > Get([FromQuery] GetSchedulePageWithNames m) =>
 _lazyDbConnection.TryExecuteDbMessageAsync(m);