Exemplo n.º 1
0
        public static void Delete(int id)
        {
            var serviceWse = ServiceManager.GetService <CommentService>();

            serviceWse.Delete(id);
        }
Exemplo n.º 2
0
        public static IList <Product> RetrieveProducts()
        {
            var service = ServiceManager.GetService <RequestService>();

            return(RetrieveProducts(service.RetrieveProducts(), Requester.Logged));
        }
Exemplo n.º 3
0
        public static bool IsRequesterAttached(int requestID, int requesterID)
        {
            var service = ServiceManager.GetService <RequestService>();

            return(service.IsRequesterAttached(requestID, requesterID));
        }
Exemplo n.º 4
0
        public static bool ForgotPassword(string email)
        {
            var service = ServiceManager.GetService <RequesterService>();

            return(service.ForgetPassword(email));
        }