blob: f4002f6396d16f062ae88a081570e2ddf5e1d633 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
using System.Web.Services;
using Marina.Infrastructure.Container;
using Marina.Presentation.DTO;
using Marina.Task;
namespace Marina.Web.Services {
public class AuthenticationWebServices : IAuthenticationTask {
public AuthenticationWebServices() : this( Resolve.DependencyFor< IAuthenticationTask >( ) ) {}
public AuthenticationWebServices( IAuthenticationTask realTask ) {
this.realTask = realTask;
}
[WebMethod]
public DisplayResponseLineDTO AuthenticateUserUsing( LoginCredentialsDTO credentials ) {
return realTask.AuthenticateUserUsing( credentials );
}
private readonly IAuthenticationTask realTask;
}
}
|