예제 #1
0
        public int Put(Customer changecustomer)
        {
            ClaimsPrincipal p = Request.GetRequestContext().Principal as ClaimsPrincipal;

            return(CustomerMADA.ChangeCustomer(changecustomer, p.Claims));
        }
 public int Put(Transfer t)
 {
     return(CustomerMADA.UpdateAccountskl(t));
 }
예제 #3
0
        public List <Customer> Get()
        {
            ClaimsPrincipal p = Request.GetRequestContext().Principal as ClaimsPrincipal;

            return(CustomerMADA.GetCustomers(p.Claims));
        }
        public int Put(Transfer t)
        {
            ClaimsPrincipal p = Request.GetRequestContext().Principal as ClaimsPrincipal;

            return(CustomerMADA.UpdateAccounts(t, p.Claims));
        }