ModelFactoryGenerateNewRequest Method

Generates a new RequestDto

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public static RequestDto GenerateNewRequest(
	UserRequestType requestType,
	AccountDto requester
)

Parameters

requestType  UserRequestType
The request type
requester  AccountDto
The user generating the request

Return Value

RequestDto
Generated request

Remarks

This method does not check if the user is allowed to create a new request.

See Also