public IActionResult Signup([FromBody] UserApiModel userApiModel) { if (MongoUtil.GetUser(userApiModel.getUserModel(ModelsExtensionMethods.zeroId).Email) == null) { MongoUtil.AddUser(userApiModel.getUserModel(ModelsExtensionMethods.zeroId)); return(Ok("Success")); } return(Conflict("Email used")); }