public IHttpActionResult GetByTcknPassword(string tckn, string password)
        {
            MusteriBLL musteriBusiness = new MusteriBLL();
            var        model           = musteriBusiness.GetByTcknPassword(tckn, password);

            return(Ok(model));
        }
        public IHttpActionResult Login(string tckn, string password)
        {
            MusteriBLL musteriBusiness = new MusteriBLL();
            var        model           = musteriBusiness.GetByTcknPassword(tckn, password);

            if (model != null)
            {
                FormsAuthentication.SetAuthCookie(model.tckn, false);

                return(Ok(model));
            }
            else
            {
                return(NotFound());
            }
        }