public IActionResult Authenticate([FromBody] UserCred userCred)
        {
            var token = _customAuthenticationManager.Authenticate
                            (userCred.UserName, userCred.Password);

            if (token == null)
            {
                return(Unauthorized());
            }
            return(Ok(token));
        }
 public void post([FromBody] UserCred value)
 {
 }