public async Task <IActionResult> Login([FromBody] LoginWithPhoneRequestModel model) { var response = await _bridgeAbstractionUserPhone.Login(model); // use bridge return(Json(new JsonResponse <BridgeLoginResponseModel>(response))); }
public async Task <IActionResult> Facebook([FromBody] FacebookWithEmailRequestModel model) { var response = await _bridgeAbstractionUserFacebookEmail.Login(model); // use bridge return(Json(new JsonResponse <BridgeLoginResponseModel>(response))); }