Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

IServiceRequestManager

Syntax

Code Block
_serviceRequestManagerServiceRequestManager.Get<T>(int userId) where T : IServiceRequestMetadata
_serviceRequestManagerServiceRequestManager.Get<T>(int userId, int serviceId) where T : IServiceRequestMetadata
_serviceRequestManagerServiceRequestManager.Get<T>(int userId, int serviceId, int page, int pageSize) where T : IServiceRequestMetadata;

...

200 - Ok

Example

Code Block
languagec#
using MTOA.BLL.Interfaces;

int MyServiceIdmyServiceId = 123;
int pageNumber = 1;
int pageSize = 20;

var serviceRequests = await _serviceRequestManager.Get<T>Get<ServiceRequest>(CurrentUser.Id, MyServiceIdmyServiceId, pageNumber, pageSize);