/// <summary> /// Edits a Customer. /// </summary> /// <param name="oldinput">The Customer to edit.</param> /// <param name="newinput">The Customer to edit with.</param> /// <returns>The outcome of the method.</returns> public bool ModifyCustomer(Guid oldinput, EF_PoC_Customer.Customer newinput) { try { return(dataAccess.ModifyCustomer(oldinput, newinput)); } catch { return(false); } }
/// <summary> /// Adds a Customer. /// </summary> /// <param name="input">The Customer to add.</param> /// <returns>The outcome of the method.</returns> public bool AddCustomer(EF_PoC_Customer.Customer input) { try { return(dataAccess.AddCustomer(input)); } catch { return(false); } }