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)); }
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)); }