14 lines
555 B
C#
14 lines
555 B
C#
using System.Collections.Generic;
|
|
using _0_Framework.Application;
|
|
|
|
namespace CompanyManagment.App.Contracts.AuthorizedPerson;
|
|
|
|
public interface IAuthorizedPersonApplication
|
|
{
|
|
OperationResult Create(CreateAuthorizedPerson command);
|
|
OperationResult CreateFromUidResponse(CreateAuthorizedPerson command);
|
|
AuthorizedPersonViewModel GetByNationalCode(string nationalCode);
|
|
List<AuthorizedPersonViewModel> Search(string nationalCode = null, string firstName = null, string lastName = null);
|
|
bool ExistsByNationalCode(string nationalCode);
|
|
}
|