public Boolean Login([FromBody] AuthenticationRequest request) { CreateUser obj = new CreateUser(); return(obj.CheckUser(request.UserName, request.Password)); //Call to Business logic }